From: Jeremy Bicha Date: Tue, 29 Aug 2017 20:26:03 +0000 (-0400) Subject: systemActions: Add more keywords X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~994^2^2~148 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=9bad2182dd814e5e3bb116fb795b8fcba20e1025;p=gnome-shell.git systemActions: Add more keywords https://bugzilla.gnome.org/show_bug.cgi?id=786987 --- diff --git a/js/misc/systemActions.js b/js/misc/systemActions.js index ff8165085..9c808b76d 100644 --- a/js/misc/systemActions.js +++ b/js/misc/systemActions.js @@ -99,7 +99,7 @@ const SystemActions = new Lang.Class({ name: C_("search-result", "Power Off"), iconName: 'system-shutdown-symbolic', // Translators: A list of keywords that match the power-off action, separated by semicolons - keywords: _("power off;shutdown").split(';'), + keywords: _("power off;shutdown;reboot;restart").split(';'), available: false }); this._actions.set(LOCK_SCREEN_ACTION_ID, { // Translators: The name of the lock screen action in search @@ -134,7 +134,7 @@ const SystemActions = new Lang.Class({ name: C_("search-result", "Lock Orientation"), iconName: '', // Translators: A list of keywords that match the lock orientation action, separated by semicolons - keywords: _("lock orientation").split(';'), + keywords: _("lock orientation;screen;rotation").split(';'), available: false }); this._loginScreenSettings = new Gio.Settings({ schema_id: LOGIN_SCREEN_SCHEMA });